<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
    <link rel="stylesheet" href="/index/css/css.css">
    <title>报告详情</title>
</head>
<body>
    <div class="container">
        <div class="col-md-12 page-title" style="padding: 0;"><h2>{$detail.a1}</h2></div>
        <div class="border">
            <div class="title">变电站信息</div>
            <div class="top-list">
                <div class="col-md-6 bottom"><span class="key">变电站名称：</span>{$detail.a2}</div>
                <div class="col-md-6 bottom"><span class="key">回路地址：</span>{$detail.a3}</div>

                <div class="col-md-6 bottom"><span class="key">变电站名称：</span>{$detail.a4}</div>
                <div class="col-md-6 bottom"><span class="key">回路地址：</span>{$detail.a5}</div>
           </div>

            <div class="title">被测试装置</div>
            <div class="top-list">
                <div class="col-md-6 bottom"><span class="key">装置名称：</span>{$detail.a6}</div>
                <div class="col-md-6 bottom"><span class="key">装置型号：</span>{$detail.a7}</div>
                <div class="col-md-6 bottom"><span class="key">生产厂家：</span>{$detail.a8}</div>
                <div class="col-md-6 bottom"><span class="key">序列号：</span>{$detail.a9}</div>
                <div class="col-md-6 bottom"><span class="key">装置地址：</span>{$detail.a10}</div>
                <div class="col-md-6 bottom"><span class="key">定值单编号：</span>{$detail.a11}</div>
            </div>

            <div class="title">额定值</div>
            <div class="top-list">
                <div class="col-md-6 bottom"><span class="key">Vnom：</span>{$detail.a12}</div>
                <div class="col-md-6 bottom"><span class="key">Vdc：</span>{$detail.a13}</div>
                <div class="col-md-6 bottom"><span class="key">Inom：</span>{$detail.a14}</div>
                <div class="col-md-6 bottom"><span class="key">一次侧电压：</span>{$detail.a15}</div>
                <div class="col-md-6 bottom"><span class="key">Fnom：</span>{$detail.a16}</div>
                <div class="col-md-6 bottom"><span class="key">一次侧电流：</span>{$detail.a17}</div>
                <div class="col-md-6 bottom"><span class="key">开入防抖时间：</span>{$detail.a18}</div>
            </div>

            <div class="title">测试设备信息</div>
            <div class="top-list">
                <div class="col-md-6 bottom"><span class="key">型号：</span>{$detail.a19}</div>
                <div class="col-md-6 bottom"><span class="key">序列号：</span>{$detail.a20}</div>
                <div class="col-md-6 bottom"><span class="key">Umax：</span>{$detail.a21}</div>
                <div class="col-md-6 bottom"><span class="key">测试开始时间：</span>{$detail.a22}</div>
                <div class="col-md-6 bottom"><span class="key">Imax：</span>{$detail.a23}</div>
                <div class="col-md-6 bottom"><span class="key">测试终止时间：</span>{$detail.a24}</div>
                <div class="col-md-6 bottom"><span class="key">通讯接口类型：</span>{$detail.a25}</div>
            </div>
        </div>

        <!--零序保护-->
        <div class="kuang">
            <div class="border-one">
                <div class="title-one">1:测试对象-零序保护</div>
                <div style="height: 40px;"></div>
                <div class="title">系统参数</div>
                <div class="top-list">
                    <div class="col-md-6 bottom"><span class="key">故障前时间：</span>{$proto_one.oComm.PreFaultTime} 秒</div>
                    <div class="col-md-6 bottom"><span class="key">保护动作后续时间：</span>{$proto_one.oComm.PostFaultTime} 秒</div>
                    <div class="col-md-6 bottom"><span class="key">故障触发方式：</span>
                        {switch proto_one.oComm.eFaultTrigMode}
                            {case 1}手动触发{/case}
                            {case 2}开入量触发{/case}
                            {case 3}gps触发{/case}
                            {default /}时间触发
                        {/switch}
                    </div>
                    <div class="col-md-6 bottom"><span class="key">开入量触发通道：</span>
                        {switch proto_one.oComm.SwitchChanel}
                            {case 1}A{/case}
                            {case 2}B{/case}
                            {case 3}C{/case}
                            {case 4}D{/case}
                            {case 5}E{/case}
                            {case 6}F{/case}
                            {case 7}G{/case}
                            {case 8}H{/case}
                            {case 9}I{/case}
                            {default /}J
                        {/switch}
                    </div>
                    <div class="col-md-6 bottom"><span class="key">TA安装位置：</span>
                        {if ($proto_one['oComm']['ePTCON'] == 1) } 线路侧
                            {else /} 母线侧
                        {/if}

                    </div>
                    <div class="col-md-6 bottom"><span class="key">TV正级性：</span>
                        {if ($proto_one['oComm']['eCTPOINT'] == 1) } 指向线路
                        {else /} 指向母线
                        {/if}
                    </div>
                    <div class="col-md-6 bottom"><span class="key">断路器模拟：</span>

                        {if ($proto_one['oComm']['eBCSIMULATION'] == 1) } 模拟
                        {else /} 不模拟
                        {/if}
                    </div>
                    <div class="col-md-6 bottom"><span class="key">分闸时间：</span>{$proto_one.oComm.TripTime} 毫秒</div>
                    <div class="col-md-6 bottom"><span class="key">合闸时间：</span>{$proto_one.oComm.CloseTime}毫秒</div>
                    <div class="col-md-6 bottom"><span class="key">Uz输出定义：</span>
                        {switch proto_one.oComm.eVZDEFINE}
                        {case 1}1-√3x3U0{/case}
                        {case 2}（-√3x3U0）{/case}
                        {case 3}-3U0{/case}
                        {case 4}（-3U0）{/case}
                        {case 5}-{/case}
                        {default /}0
                        {/switch}
                    </div>

                    <div class="col-md-6 bottom"><span class="key">Uz参考项定义：</span>
                        {switch proto_one.oComm.eVZDEFINE}
                        {case 1}Ub相位{/case}
                        {case 2}Uc相位{/case}
                        {case 3}Uab相位{/case}
                        {case 4}Ubc相位{/case}
                        {case 5}Uca相位{/case}
                        {default /}Ua相位
                        {/switch}

                    </div>
                    <div class="col-md-6 bottom"><span class="key">Uz相角(相对参考项)：</span>{$proto_one.oComm.VzPhdiff}度</div>
                </div>

                <!--开关量-->
                <div class="title">开关量</div>
                <table class="table table-bordered" style="text-align: center;">
                    <tr>
                        <th style="text-align: center;">序号</th>
                        <th style="text-align: center;">名称</th>
                        <th style="text-align: center;">表示</th>
                        <th style="text-align: center;">状态</th>
                    </tr>
                    {foreach $proto_one['oSwitch']['iTripBuf'] as $key=>$vo }
                        <tr>
                            <td>{$key + 1}</td>
                            <td>{$switch_type['name'][$key]}</td>
                            <td>K{$switch_type['biao_shi'][$vo.IK]}</td>
                            <td>
                                <?php
                                    if ($key > 2) {
                                        if ($vo['TripABC'] == 1) { echo '重合';} else { echo '否';}
                                    } else {
                                        if ($vo['TripABC'] == 1) { echo '跳' . $switch_type['biao_shi'][$vo['IK']] . '相';} else { echo '否';}
                                    }
                                ?>


                            </td>
                        </tr>
                    {/foreach}
                    {foreach $proto_one['oSwitch']['iKOutput'] as $key => $vo}
                    <tr>
                        <td><?php echo count($proto_one['oSwitch']['iTripBuf']) + $key + 1?></td>
                        <td>故障前开出状态{$key + 1}</td>
                        <td>K{$key + 1}</td>
                        <td>{if ($vo == 1)}关闭{else /}打开{/if}</td>
                    </tr>
                    {/foreach}
                    <tr>
                        <td><?php echo count($proto_one['oSwitch']['iTripBuf']) + count($proto_one['oSwitch']['iKOutput']) + 1?></td>
                        <td>开出翻转启动方式</td>
                        <td>OutMode</td>
                        <td>{if ($proto_one['oSwitch']['iOutMode'] == 1)} 开入量启动 {else /} 时间启动 {/if}</td>
                    </tr>
                    <tr>
                        <td><?php echo count($proto_one['oSwitch']['iTripBuf']) + count($proto_one['oSwitch']['iKOutput']) + 2?></td>
                        <td>开出翻转时刻</td>
                        <td>TurnTime</td>
                        <td>{$proto_one['oSwitch']['fTurnTime']}秒</td>
                    </tr>
                    <tr>
                        <td><?php echo count($proto_one['oSwitch']['iTripBuf']) + count($proto_one['oSwitch']['iKOutput']) + 3?></td>
                        <td>开出保持时间</td>
                        <td>HoldTime</td>
                        <td>{$proto_one['oSwitch']['fHoldTime']}毫秒</td>
                    </tr>

                </table>

                <!--测试定值-->
                <div class="title">测试定值</div>
                <div class="top-list">
                    {foreach $proto_one['oMarkSet']['fIset'] as $key => $vo}
                    <div class="col-md-6 bottom"><span class="key">零序{$switch_type['luoma'][$key + 1]}段：</span>{$vo}A</div>
                    <div class="col-md-6 bottom"><span class="key">零序{$switch_type['luoma'][$key + 1]}段动作时间：</span>{$proto_one['oMarkSet']['fTset'][$key]}秒</div>
                    {/foreach}
                </div>

                <!--测试结果-->
                <div class="title">测试结果</div>
                <div class="panel-group" id="accordion">
                {foreach $proto_one['oItems'] as $key => $vo}
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <h4 class="panel-title">
                                <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne{$vo.oItem.iIndex}">
                                   {$vo.name}
                                </a>
                            </h4>
                        </div>
                        <div id="collapseOne{$vo.oItem.iIndex}" class="panel-collapse collapse">
                            <div class="panel-body">
                                <div class="col-md-6 bottom"><span class="key">故障类型：</span>
                                    {switch vo.oItem.errortype}
                                    {case 1}B相接地{/case}
                                    {case 2}C相接地 {/case}
                                    {default /} A相接地
                                    {/switch}
                                </div>
                                <div class="col-md-6 bottom"><span class="key">最大故障时间(s)：</span>{$vo.oItem.fErrorTime}秒</div>
                                <div class="col-md-6 bottom"><span class="key">短路阻抗角：</span>{$vo.oItem.fphi}</div>
                                <div class="col-md-6 bottom"><span class="key">故障性质：</span>
                                    <?php echo $vo['oItem']['nature'] == 0 ? '瞬时' : '永久';?>

                                </div>
                                <div class="col-md-6 bottom"><span class="key">故障方向：</span>
                                    <?php echo $vo['oItem']['dirc'] == 1 ? '正向' : '反向';?>
                                </div>

                                <div class="col-md-6 bottom"><span class="key">短路电流：</span>{$vo.oItem.f3I0}A</div>

                                {if ($proto_one['oComm']['eFaultTrigMode']) == 3}
                                <div class="col-md-6 bottom"><span class="key" style="color: red;">故障触发时刻：</span>{$vo.oItem.fErrorTime}</div>
                                <div class="col-md-6 bottom"><span class="key">频率：</span>{$vo.oItem.fHz}Hz</div>
                                {else /}
                                <div class="col-md-6 bottom"><span class="key">频率：</span>{$vo.oItem.fHz}Hz</div>
                                <div class="col-md-6 bottom"><span class="key" style="color: red;"></span></div>
                                {/if}


                            </div>
                            <table class="table table-bordered" style="text-align: center; width: 97%; margin: 5px auto;">
                                <tr>
                                    <th style="text-align: center;">测试结果</th>
                                    <th style="text-align: center;">评估</th>
                                </tr>
                                <tr>
                                    <td>
                                        {if ($vo['oResult']['fta'] != 0)}跳A：{:round($vo['oResult']['fta'], 4)}秒<br/> {/if}
                                        {if ($vo['oResult']['ftb'] != 0)}跳B：{:round($vo['oResult']['ftb'], 4)}秒<br/> {/if}
                                        {if ($vo['oResult']['ftc'] != 0)}跳C：{:round($vo['oResult']['ftc'], 4)}秒<br/>{/if}
                                        {if ($vo['oResult']['fchz'] != 0)}重合闸：{:round($vo['oResult']['fchz'], 4)}秒<br/>{/if}
                                        {if ($vo['oResult']['frta'] != 0)}返回A：{:round($vo['oResult']['frta'], 4)}秒<br/> {/if}
                                        {if ($vo['oResult']['frtb'] != 0)}返回B：{:round($vo['oResult']['frtb'], 4)}秒<br/> {/if}
                                        {if ($vo['oResult']['frtc'] != 0)}返回C：{:round($vo['oResult']['frtc'], 4)}秒<br/> {/if}
                                        {if ($vo['oResult']['frtd'] != 0)}返回D：{:round($vo['oResult']['frtd'], 4)}秒 {/if}
                                    </td>
                                    <td>--</td>
                                </tr>
                            </table>
                        </div>
                    </div>
                    <?php
                            $num = 0;
                            if ($vo['oResult']['fta'] == 0) $num +=1;
                            if ($vo['oResult']['ftb'] == 0) $num +=1;
                            if ($vo['oResult']['ftc'] == 0) $num +=1;;
                            if ($vo['oResult']['fchz'] == 0) $num +=1;
                            if ($vo['oResult']['frta'] == 0) $num +=1;
                            if ($vo['oResult']['frtb'] == 0) $num +=1;
                            if ($vo['oResult']['frtc'] == 0) $num +=1;
                            if ($vo['oResult']['frtd'] == 0) $num +=1;
                        ?>
                    {/foreach}



                </div>

                <!--测试评估结果-->
                <div class="title">测试评估结果</div>
                <div class="top-list">
                    <div class="col-md-6 bottom"><span class="key" style="color: red; display: none;">
                        {$num}个测试点失败</span></div>
                    <div class="col-md-6 bottom"></div>
                </div>

            </div>
        </div>

        <!--过流保护-->
        <div class="kuang">
            <div class="border-one">
                <div class="title-one">2:测试对象-过流保护</div>
                <div style="height: 40px;"></div>
                <div class="title">系统参数</div>
                <div class="top-list">
                    <div class="col-md-6 bottom"><span class="key">故障前时间：</span>{$proto_two.oComm.PreFaultTime} 秒</div>
                    <div class="col-md-6 bottom"><span class="key">保护动作后续时间：</span>{$proto_two.oComm.PostFaultTime} 秒</div>
                    <div class="col-md-6 bottom"><span class="key">故障触发方式：</span>
                        {switch $proto_two.oComm.eFaultTrigMode}
                        {case 1}手动触发{/case}
                        {case 2}开入量触发{/case}
                        {case 3}gps触发{/case}
                        {default /}时间触发
                        {/switch}
                    </div>
                    {if ($proto_two.oComm.eFaultTrigMode == 2)}
                    <div class="col-md-6 bottom"><span class="key">开入量触发通道：</span>
                        {switch $proto_two.oComm.SwitchChanel}
                        {case 1}A{/case}
                        {case 2}B{/case}
                        {case 3}C{/case}
                        {case 4}D{/case}
                        {case 5}E{/case}
                        {case 6}F{/case}
                        {case 7}G{/case}
                        {case 8}H{/case}
                        {case 9}I{/case}
                        {default /}J
                        {/switch}
                    </div>
                    {else /}
                        <div class="col-md-6 bottom"></div>

                    {/if}
                    <div class="col-md-6 bottom"><span class="key">TA安装位置：</span>
                        {if ($proto_one['oComm']['ePTCON'] == 1) } 线路侧
                        {else /} 母线侧
                        {/if}

                    </div>
                    <div class="col-md-6 bottom"><span class="key">TV正级性：</span>
                        {if ($proto_one['oComm']['eCTPOINT'] == 1) } 指向线路
                        {else /} 指向母线
                        {/if}
                    </div>
                    <div class="col-md-6 bottom"><span class="key">断路器模拟：</span>

                        {if ($proto_one['oComm']['eBCSIMULATION'] == 1) } 模拟
                        {else /} 不模拟
                        {/if}
                    </div>
                    <div class="col-md-6 bottom"><span class="key">分闸时间：</span>{$proto_one.oComm.TripTime} 毫秒</div>
                    <div class="col-md-6 bottom"><span class="key">合闸角选择：</span>
                        {$proto_two.oComm.eFaultIncMode}
                    </div>
                    <div class="col-md-6 bottom"><span class="key">合闸时间：</span>{$proto_one.oComm.CloseTime}毫秒</div>
                    <div class="col-md-6 bottom"><span class="key">合闸角：</span>{$proto_one.oComm.FaultAngle}度</div>
                </div>

                <!--开关量-->
                <div class="title">开关量</div>
                <table class="table table-bordered" style="text-align: center;">
                    <tr>
                        <th style="text-align: center;">序号</th>
                        <th style="text-align: center;">名称</th>
                        <th style="text-align: center;">表示</th>
                        <th style="text-align: center;">状态</th>
                    </tr>
                    {foreach $proto_two['oSwitch']['iTripBuf'] as $key=>$vo }
                    <tr>
                        <td>{$key + 1}</td>
                        <td>{$switch_type['name'][$key]}</td>
                        <td>K{$switch_type['biao_shi'][$vo.IK]}</td>
                        <td>
                            <?php
                                    if ($key > 2) {
                            if ($vo['TripABC'] == 1) { echo '重合';} else { echo '否';}
                            } else {
                            if ($vo['TripABC'] == 1) { echo '跳' . $switch_type['biao_shi'][$vo['IK']] . '相';} else { echo '否';}
                            }
                            ?>


                        </td>
                    </tr>
                    {/foreach}
                    {foreach $proto_two['oSwitch']['iKOutput'] as $key => $vo}
                    <tr>
                        <td><?php echo count($proto_two['oSwitch']['iTripBuf']) + $key + 1?></td>
                        <td>故障前开出状态{$key + 1}</td>
                        <td>K{$key + 1}</td>
                        <td>{if ($vo == 1)}关闭{else /}打开{/if}</td>
                    </tr>
                    {/foreach}
                    <tr>
                        <td><?php echo count($proto_two['oSwitch']['iTripBuf']) + count($proto_two['oSwitch']['iKOutput']) + 1?></td>
                        <td>开出翻转启动方式</td>
                        <td>OutMode</td>
                        <td>{if ($proto_two['oSwitch']['iOutMode'] == 1)} 开入量启动 {else /} 时间启动 {/if}</td>
                    </tr>
                    <tr>
                        <td><?php echo count($proto_two['oSwitch']['iTripBuf']) + count($proto_two['oSwitch']['iKOutput']) + 2?></td>
                        <td>开出翻转时刻</td>
                        <td>TurnTime</td>
                        <td>{$proto_two['oSwitch']['fTurnTime']}秒</td>
                    </tr>
                    <tr>
                        <td><?php echo count($proto_two['oSwitch']['iTripBuf']) + count($proto_two['oSwitch']['iKOutput']) + 3?></td>
                        <td>开出保持时间</td>
                        <td>HoldTime</td>
                        <td>{$proto_two['oSwitch']['fHoldTime']}毫秒</td>
                    </tr>

                </table>

                <!--测试定值-->
                <div class="title">测试定值</div>
                <div class="top-list">
                    {foreach $proto_two['oMarkSet']['fIset'] as $key => $vo}
                    <div class="col-md-6 bottom"><span class="key">过流{$switch_type['luoma'][$key + 1]}段：</span>{$vo}A</div>
                    <div class="col-md-6 bottom"><span class="key">过流{$switch_type['luoma'][$key + 1]}段动作时间：</span>{$proto_one['oMarkSet']['fTset'][$key]}秒</div>
                    {/foreach}
                </div>

                <!--测试结果-->
                <div class="title">测试结果</div>
                <div class="panel-group" id="two_accordion">
                    {foreach $proto_two['oItems'] as $key => $vo}
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <h4 class="panel-title">
                                <a data-toggle="collapse" data-parent="#two_accordion" href="#two_collapseOne{$vo.oItem.iIndex}">
                                    {$vo.name}
                                </a>
                            </h4>
                        </div>
                        <div id="two_collapseOne{$vo.oItem.iIndex}" class="panel-collapse collapse">
                            <div class="panel-body">
                                <div class="col-md-6 bottom"><span class="key">故障类型：</span>
                                    {switch vo.oItem.errortype}
                                    {case 1}B相接地{/case}
                                    {case 2}C相接地 {/case}
                                    {case 3}AB接地 {/case}
                                    {case 4}BC接地 {/case}
                                    {case 5}CA接地 {/case}
                                    {case 6}ABC接地 {/case}
                                    {default /} A相接地
                                    {/switch}
                                </div>
                                <div class="col-md-6 bottom"><span class="key">最大故障时间(s)：</span>{$vo.oItem.fErrorTime}秒</div>
                                <div class="col-md-6 bottom"><span class="key">故障方向：</span>
                                    <?php echo $vo['oItem']['dirc'] == 1 ? '正向' : '反向';?>
                                </div>

                                <div class="col-md-6 bottom"><span class="key">短路电压(V)：</span>{$vo.oItem.fdl_V}A</div>




                                <div class="col-md-6 bottom"><span class="key">短路电流：</span>{$vo.oItem.fdl_I}A</div>

                                <div class="col-md-6 bottom"><span class="key">PT断线相：</span>
                                    {switch vo.oItem.ePTPhase}
                                    {case 1}B相{/case}
                                    {case 2}C相 {/case}
                                    {case 3}AB {/case}
                                    {case 4}BC {/case}
                                    {case 5}CA {/case}
                                    {case 6}ABC {/case}
                                    {default /} A相
                                    {/switch}
                                </div>
                                <div class="col-md-6 bottom"><span class="key">模拟PT断线：</span>
                                    {if ($vo['oItem']['bPT'] == true)} 是  {else /} 否 {/if}
                                </div>


                                {if ($proto_two['oComm']['eFaultTrigMode']) == 3}
                                <div class="col-md-6 bottom"><span class="key" style="color: red;">故障触发时刻：</span>{$vo.oItem.fErrorTime}</div>
                                <div class="col-md-6 bottom"><span class="key">频率：</span>{$vo.oItem.fHz}Hz</div>
                                {else /}
                                <div class="col-md-6 bottom"><span class="key">频率：</span>{$vo.oItem.fHz}Hz</div>
                                {/if}


                            </div>
                            <table class="table table-bordered" style="text-align: center; width: 97%; margin: 5px auto;">
                                <tr>
                                    <th style="text-align: center;">测试结果</th>
                                    <th style="text-align: center;">评估</th>
                                </tr>
                                <tr>
                                    <td>
                                        {if ($vo['oResult']['fta'] != 0)}跳A：{:round($vo['oResult']['fta'], 4)}秒<br/> {/if}
                                        {if ($vo['oResult']['ftb'] != 0)}跳B：{:round($vo['oResult']['ftb'], 4)}秒<br/> {/if}
                                        {if ($vo['oResult']['ftc'] != 0)}跳C：{:round($vo['oResult']['ftc'], 4)}秒<br/>{/if}
                                        {if ($vo['oResult']['fchz'] != 0)}重合闸：{:round($vo['oResult']['fchz'], 4)}秒<br/>{/if}
                                        {if ($vo['oResult']['frta'] != 0)}返回A：{:round($vo['oResult']['frta'], 4)}秒<br/> {/if}
                                        {if ($vo['oResult']['frtb'] != 0)}返回B：{:round($vo['oResult']['frtb'], 4)}秒<br/> {/if}
                                        {if ($vo['oResult']['frtc'] != 0)}返回C：{:round($vo['oResult']['frtc'], 4)}秒<br/> {/if}
                                        {if ($vo['oResult']['frtd'] != 0)}返回D：{:round($vo['oResult']['frtd'], 4)}秒 {/if}
                                    </td>
                                    <td>--</td>
                                </tr>
                            </table>
                        </div>
                    </div>
                    <?php
                            $num = 0;
                            if ($vo['oResult']['fta'] == 0) $num +=1;
                            if ($vo['oResult']['ftb'] == 0) $num +=1;
                            if ($vo['oResult']['ftc'] == 0) $num +=1;;
                            if ($vo['oResult']['fchz'] == 0) $num +=1;
                            if ($vo['oResult']['frta'] == 0) $num +=1;
                            if ($vo['oResult']['frtb'] == 0) $num +=1;
                            if ($vo['oResult']['frtc'] == 0) $num +=1;
                            if ($vo['oResult']['frtd'] == 0) $num +=1;
                        ?>
                    {/foreach}



                </div>

                <!--测试评估结果-->
                <div class="title">测试评估结果</div>
                <div class="top-list">
                    <div class="col-md-6 bottom"><span class="key" style="color: red; display: none;">
                        {$num}个测试点失败</span></div>
                    <div class="col-md-6 bottom"></div>
                </div>

                <!--测试评估结果-->
                <div class="title">相关人员</div>
                <div class="top-list">
                    <div class="col-md-6 bottom"><span class="key">测试人员：</span>{$detail.a26}</div>
                    <div class="col-md-6 bottom"><span class="key">核准人：</span>{$detail.a27}</div>
                </div>

            </div>
        </div>


    </div>
</body>
</html>
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>